package com.example.pineapple.entity;

/**
 * @ClassName PageEntity
 * @Description 分页实体
 * @Author Hermit
 * @Date 2021/7/2 15:19
 */
public class PageEntity<T> {

    private int total;

    private int size;

    private int current;

    private T records;

    public int getTotal() {
        return total;
    }

    public void setTotal(int total) {
        this.total = total;
    }

    public int getSize() {
        return size;
    }

    public void setSize(int size) {
        this.size = size;
    }

    public int getCurrent() {
        return current;
    }

    public void setCurrent(int current) {
        this.current = current;
    }

    public T getRecords() {
        return records;
    }

    public void setRecords(T records) {
        this.records = records;
    }
}
